<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" charset="utf-8">
        function Person() {

        }
        Person.prototype.say = function(){
            alert('我是方法');
        }
        var p1 = new Person();

    </script>
</head>
<body>
</body>
</html>